package _range

import (
	"fmt"
	"sync"
)

func Range(data []int) {
	wg := sync.WaitGroup{}
	for k, v := range data {
		fmt.Printf("%p\n", &v)
		wg.Add(1)
		go func() {
			fmt.Printf("k = %d,v = %d\n", k, v)
			wg.Done()
		}()
	}
	wg.Wait()
}
